
package wrapperClass;

public class methodWrapperClass {
    
        public static int toInt(float f) {
            int i;
            i = Float.valueOf(f).intValue();
            return i;
        }
        
        public static int toInt(double d) {
            int i;
            i = Double.valueOf(d).intValue();
            return i;
        }
        
        public static double toDouble(int i) {
            double d;
            d = Integer.valueOf(i).doubleValue();
            return d;
        }
        
        public static double toDouble(String str) {
            double d;
            d = Double.valueOf(str).doubleValue();
            return d;
        }
        
        public static String strWrapper(int i) {
            String str;
            str = String.valueOf(i);
            return str;
        }
                               
        public static void main(String[] args) {                                        
                decicionEnum decitions = new decicionEnum(enumWrappers.GUITARRAS);
                System.out.println(decitions.getNameInstrument());
        }                    
}
